<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>外呼</title>
<script th:inline="javascript" language="javascript">
	function cti_call() {
		var str = document.getElementById("phoneNum").value;
		if (str == "") {
			   alert("请输入电话号码");
		}
		else {
			window.parent.dialogArguments.CallAgent(str);//CallAgent自动在外呼电话前+9
			window.close();
		}
	}
		
	function winClose() {
		window.close();
	}	
</script>
<style type="text/css">
<!--
.stlItm {color: #333333; font-size:24px; font-weight:bold;}
.stlTel {height:50px; width:280px; border:1px solid #dce1e8; font-size:40px;}
-->
</style>
</head>
<body>
<Div style="margin-top:40px;">
       <table align="center" width="96%" cellSpacing="0" cellPadding="0" border="0">
          <tr>
		    <td height="70" align="right"><span class="stlItm">外拨电话号码：</span></td>
            <td><input id="phoneNum" type="text" th:value="${param.calltel}" class="stlTel" maxlength="15"/></td>
          </tr>
		  <tr>
		    <td colspan="2" align="center"><div style="margin-top:20px;">
  <input name="btnCfm" type="image" src="xbCfm.jpg" onClick="cti_call();"/>
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  <input name="btnClose" type="image" src="xbCancel.jpg" onClick="winClose();"/>
  </div></td>
          </tr>
        </table>
</Div>
</body>
</html>